package me.obstsalat.guildera;

import java.io.Serializable;

import org.bukkit.Location;


@SuppressWarnings("serial")
public class LocationSer implements Serializable {
	
	private int x;
	private int y;
	private int z;
	
	LocationSer(int cx, int cy, int cz) {
		x = cx;
		y = cy;
		z = cz;
	}
	
	LocationSer(Location l) {
		x = l.getBlockX();
		y = l.getBlockY();
		z = l.getBlockZ();
	}
	
	public void SetLocation(int cx, int cy, int cz) {
		x = cx;
		y = cy;
		z = cz;
	}
	
	public int getX() {
		return x;
	}
	
	public int getY() {
		return y;
	}
	
	public int getZ() {
		return z;
	}
}
